package smartfleet.communication.carrwprotocol;

import java.io.Serializable;
import java.util.Map;

import smartfleet.communication.smartfleetobjects.GeneralInfo;

public class CarUpdateResponse implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -993602619337751798L;

	private Map<Integer, GeneralInfo>	cars;
	
	private int					id;
	private Map<Integer, GeneralInfo>	stations;
	
	public CarUpdateResponse(int id, Map<Integer, GeneralInfo> cars, Map<Integer, GeneralInfo> stations) {

		this.id = id;
		this.cars = cars;
		this.stations = stations;
		
	}
	
	public Map<Integer, GeneralInfo> getCars() {

		return this.cars;
	}
	
	public int getId() {

		return this.id;
	}
	
	public Map<Integer, GeneralInfo> getStations() {

		return this.stations;
	}
	
	public void setCars(Map<Integer, GeneralInfo> cars) {

		this.cars = cars;
	}
	
	public void setId(int id) {

		this.id = id;
	}
	
	public void setStations(Map<Integer, GeneralInfo> stations) {

		this.stations = stations;
	}
	
}
